import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入组件库的功能和样式
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 导入全局样式
import '@/styles/index.less'

// 引入element练习组件
// import App from '@/components/layout.vue'
// import App from '@/components/table.vue'
// import App from '@/components/form.vue'
// import App from '@/components/tree.vue'
// import App from '@/components/dialog.vue'

// 注册组件库
Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
